/**
 * 
 */
package tests;

import static org.junit.Assert.*;

import java.util.ArrayList;
import java.util.List;

import org.junit.After;
import org.junit.Before;
import org.junit.Test;

import reit.main.RepairObjectInterface;
import reit.main.Statistics;
import reit.xml.assets.Assets;

/**
 * @author Mordechai
 *
 */
public class StatisticsTest extends XMLParseBase{
	private Statistics toTest;

	/**
	 * @throws java.lang.Exception
	 */
	@Before
	public void setUp() throws Exception {
		super.setUp();
		toTest = new Statistics();
	}

	/**
	 * Test method for {@link reit.main.Statistics#MoneyGained(java.lang.Long)}.
	 */
	@Test
	public void testMoneyGained() {
		fail("Not yet implemented"); // TODO
	}

	/**
	 * Test method for {@link reit.main.Statistics#updateRepairTools(java.util.List)}.
	 */
	@Test
	public void testUpdateRepairTools() {
		fail("Not yet implemented"); // TODO
	}

	/**
	 * Test method for {@link reit.main.Statistics#updateRepairMaterials(java.util.List)}.
	 */
	@Test
	public void testUpdateRepairMaterials() {
		
		List<RepairObjectInterface> toSend = new ArrayList<RepairObjectInterface>();
		for(String s :fReapirMaterials.keySet()){
			toSend.add(fReapirMaterials.get(s));
		}
		toTest.updateRepairObjects(toSend);
		System.out.println(toTest.toString());
		fail("Not yet implemented"); // TODO
	}

	/**
	 * Test method for {@link reit.main.Statistics#updateRentalRequests(java.util.List)}.
	 */
	@Test
	public void testUpdateRentalRequests() {
		fail("Not yet implemented"); // TODO
	}

}
